#ifndef ABSTRACTPAGE_H
#define ABSTRACTPAGE_H

#include <QWidget>
class QJsonObject;
class AbstractPage : public QWidget {
  Q_OBJECT
public:
  explicit AbstractPage(QWidget *parent = nullptr);

  virtual ~AbstractPage() {}

  virtual void updated();
  virtual void leave();
  virtual void notify(const QJsonObject &obj);

signals:

public slots:
};

#endif // ABSTRACTPAGE_H
